export function elementsAttr(ele,vm){
	return new Promise((resolve,reject) => {
		let nodes= uni.createSelectorQuery().in(vm).selectAll(ele)
		nodes.boundingClientRect(cur=>{
			resolve(cur) //返回元素节点信息
		}).exec(res => {
			console.log(10,res) //回调
		})
	});
}